<include file="Public:head"/>
<link rel="stylesheet" href="../Public/css/list.css" type="text/css">
</head>
<body>
<div id="doc4" class="yui-t1">
<include file="Public:top"/>
  <div id="bd">
	<div id="yui-main">
        <div class="yui-b cp">
           	<h1><a href="{:ru("Member/site")}">{:L("_my_site_")}</a></h1>
            <div class="act"><a href="{:ru("Member/site_add")}">{:L("_site_add_")}</a></div>
            <form action="{:ru("Member/site_chk")}" method="post">
            	<table border="0" width="800" class="list">
                	<tr>
                    	<th><label for="cat">*{:L(_Category_)}:</label></th>
                        <td>
                        	<select name="cid" id="cat">
                            	<option value="0">-- {:L(_Select_Category_)} --</option>
<if condition="$cat_list">
	<volist name="cat_list" id="v">
    	<php>$title='';$title=$v[$plang['l'].'name'];</php>
    	<php>if(count($v['_son'])>0){</php>
                            	<optgroup label="{$title}">
			<volist name="v['_son']" id="vs">
            <php>$title='';$title=$vs[$plang['l'].'name'];</php>
            					<option id="son" value="{$vs['id']}">{$title}</option>
            </volist>
            					</optgroup>
		<php>}else{</php>
                                <option value="{$v['id']}">{$title}</option>
		<php>}</php>
	</volist>
</if>
                            </select>
                        </td>
                     </tr>
                     <tr>
                        <th><label>{:L(_Company_Name_)}</label></th>
                        <td></td>
                     </tr><tr>
                        <th><label for="ename">{:L(_In_English_)}:</label></th>
                        <td><input type="text" name="ename" id="ename" class="w380" value="{$info['ename']}" /></td>
                     </tr><tr>
                        <th><label for="cname">{:L(_In_Chinese_)}:</label></th>
                        <td><input type="text" name="cname" id="cname" class="w380" value="{$info['cname']}" /></td>
                     </tr>
						<tr>
                        <th><label for="homepage">{:L(_Home_page_)}:</label></th>
                        <td><input type="text" name="homepage" id="homepage" class="w380" value="{$info['homepage']}" /></td>
                     </tr>
                     <tr>
                        <th><label for="email">*{:L(_Email_)}:</label></th>
                        <td><input type="text" name="email" id="email" value="{$info['ename']}" /></td>
                     </tr>
                    <tr><td colspan="2" height="5"></td></tr>
					<tr>
                    	<th></th>
                        <td><select name="vip">
                        		<option value="1">{$Think.lang._paid_submission_}</option>
                                <option value="0">{$Think.lang._free_submission_}</option>
                        </select></td>
                    </tr>
                    <tr><td colspan="2" style="background-color:#efefef; padding:5px;">
                    	<h4>We offer additional promotional services for your website! Please tick as appropriate if you would
like to know more about the relative items:</h4>
                        <p>
                        	<input name="server[]" type="checkbox" value="1" />{:L(_Site_of_the_day_)}<br />
                            <input name="server[]" type="checkbox" value="2" />{:L(_Hot_Listing_)}<br />
                            <input name="server[]" type="checkbox" value="3" />{:L(_Focus_)}<br />
                            <input name="server[]" type="checkbox" value="4" />{:L(_Featured_Links_)}<br />
                            <input name="server[]" type="checkbox" value="5" />{:L(_Most_Popular_)}<br />
                            <input name="server[]" type="checkbox" value="6" />{:L(_Forum_ADs_)}<br />
                            <input name="server[]" type="checkbox" value="7" />{:L(_Biding_)}<br />
                            <input name="server[]" type="checkbox" value="8" />{:L(_Featured_sites_)}<br />
                        </p>
                    </td></tr>
                    <tr><td colspan="2" height="5"></td></tr>
                    <tr>
                    	<td colspan="2" align="center">
                        	<input type="submit" value="{:L(_Submit_now_)}" />
                        </td>
                    </tr>
                    <tr><td colspan="2" height="15"></td></tr>
                </table>
                </form>
        </div>
    </div>
    <div class="yui-b">
    	<include file="Member:left"/>
    </div>
  </div>
<include file="Public:foot"/>
